package com.yxh.dao;

import com.yxh.pojo.Position;
import com.yxh.pojo.Work;

import java.util.List;
import java.util.Map;

public interface PositionMapper {
    int deleteByPrimaryKey(String positionId);

    int insert(Position record);

    int insertSelective(Position record);

    Position selectByPrimaryKey(String positionId);

    int updateByPrimaryKeySelective(Position record);

    int updateByPrimaryKey(Position record);

    List<Map<String,Object>> selectWroks(Map<String,Object> deptJson);

    Map<String,Object> selectByPrimary(String id);

    List<Map<String,Object>> selectAudits(String userId);


    List<Map<String,Object>> selectApp(Map<String,Object> map);
}